import packages from "../../core/packages.js";

export default function (doc, option = {}) {
    if (!window.html2canvas) {
        packages.logs("Screenshot");
        return
    }
    return window.html2canvas(doc, option)
}